public class JavaAgentDemo {
	public static void premain(String agentArgs, Instrumentation inst) {
		System.out.println("JavaAgentDemo premain is Start.");
		//asm 
		//添加具体的Transformer实现
		inst.addTransformer(new JavaAgentDemoTransformerASMImpl());
	} public static void agentmain(String agentArgs, Instrumentation inst) {
		System.out.println("JavaAgentDemo agentmain is Start."); //asm //添加具体的Transformer实现
		inst.addTransformer(new JavaAgentDemoTransformerASMImpl());
	}
}